package com.hmall.cart.config;

import com.hmall.api.dto.ItemDTO;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Collection;
import java.util.List;

//@FeignClient("item-service")
public interface ItemClient {

    //@GetMapping("/items")
    List<ItemDTO> queryItemByIds(@RequestParam("ids") Collection<Long> ids);
}